$(document).ready(function() {

	$.ajax({
		type: 'POST',
		url: '/zombiesweeper/demineur/scores/GestionScores.php',
		data: {
			difficulteScores: 'normal' 
			}, 
		complete: function(result) {
			$('#meilleurs_scores').html(result.responseText);
			},
	});

	$('#difficulte_score li').click(function(){
	
		var difficulte = $(this).attr('class');
		
		$.ajax({
		type: 'POST',
		url: '/zombiesweeper/demineur/scores/GestionScores.php',
		data: {
			difficulteScores: difficulte 
			}, 
		complete: function(result) {
			$('#meilleurs_scores').html(result.responseText);
			},
		});
	});



});